import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/loginandregister/index/queryProduct',
    method: 'post',
    params
  })
}

export function insertProduct(params) {
  return request({
    url: '/loginandregister/index/insertProduct',
    method: 'post',
    params
  })
}

export function productDetail(params) {
  return request({
    url: '/loginandregister/index/productDetail',
    method: 'post',
    params
  })
}

